package com.iweb.service;

import com.iweb.pojo.User;

import java.util.List;

public interface UserService {
    List login(User user);
    boolean addUser(User user);
    User selectByPhone(String phone);
    boolean updatePersonalInfo(User user);

    List selectUserInfo(int id);

    User selectPhone(String name);

    boolean updatePassword(User user);

    String queryPassword(User user);

    List selectList();

    boolean addAdmin(User user);

    List queryAdmin(int powerID);

    boolean delete(int userID);

    List selectListByID(int userID);

    void recharge(User user);

    void updateCategoryLevel(User user);

    int selectCidByUserID(int userID);

    List queryUserInfo(int userID);
}
